div.input-file {
  position: relative; /* 保证子元素的定位 */

  & span.text {
    border-radius: 3px;
    padding: 0 10px;
    z-index: -1;
    font-size: 12px;
  }

  & input.text {
    margin-right: 10px;
    font-size: 12px;
  }

  & input.file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
  }
}
